package org.scboy.logger.config;

import java.util.ArrayList;
import java.util.List;

import org.scboy.common.beans.SelectItem;
import org.scboy.common.enums.InputType;
import org.scboy.common.impl.SystemConfig;

public class LoggerTimeConfig implements SystemConfig {

	@Override
	public String getCode() {
		return "LOGGER_SERVER_LOG_STORAGE_PERIOD";
	}

	@Override
	public String getConfigName() {
		return "日志存储期限（天）";
	}

	@Override
	public String defaultValue() {
		return "7";
	}

	@Override
	public InputType inputType() {
		return InputType.INPUTNUMBER;
	}

	@Override
	public List<SelectItem> getSelectData() {
		return new ArrayList<SelectItem>();
	}

	@Override
	public String getNote() {
		return "日志存储的时间，超过时间的日志删除。";
	}

	@Override
	public int getIndex() {
		return 0;
	}

}
